﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.Domain
{
    /// <summary>
    /// 审计
    /// </summary>
    public class Audit
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        
        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeleteName { get; set; }
        
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        
        /// <summary>
        /// 是否已删除（逻辑删除标记）
        /// True：已删除
        /// False：未删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        /// <summary>
        /// 数据状态
        /// 1: 草稿
        /// 2: 已提交/正式
        /// 3: 审核中
        /// 4: 已审核
        /// </summary>
        public int DataStatus { get; set; } = 2; // 默认为已提交状态
    }
}
